﻿namespace KinonekoSoftware.Studio.Galleries
{
    [Flags]
    public enum InstanceGalleryMode
    {
        //
        //  PreviewMode = 0b0001_xxx_xxx
        //  SelectionMode      = 0b0010_xxx_xxx
        //
        //  GeneralCategorized = 0bxxx_xxx_000001
        //  GroupCategorized   = 0bxxx_xxx_000010
        //
        SelectionMode       = 0b0010_0100_000001,
        GroupingMode        = 0b0010_0100_000010,
        SimplifyEditMode    = 0b0100_0010_000100,
        StoryEditMode       = 0b0100_0010_001000,
        InspirationEditMode = 0b0100_0010_010000,

        //--+----------------+------------------+-----------------+
        //  |                |                  |                 |
        //  |  Mode ( 4bit)  |  SideBar (4bit)  | Partial (6bit)  |
        //  |                |                  |                 |
        //--+----------------+------------------+-----------------+
        //
        //
        // Mode:
        //
        // 1. SelectionMode = 0b0010
        // 2. EditorMode    = 0b0100
        //
        // SideBar:
        //
        // 1. None                  0bxxx_0001_xxx
        // 2. Preview               0bxxx_0010_xxx
        // 3. Categorized           0bxxx_0100_xxx
        //
        // Partial:
        //
        // 1. General               0bxxx_xxx_000001
        // 2. Group                 0bxxx_xxx_000010
        // 3. SimplifyEditor        0bxxx_xxx_000100
        // 4. StoryEditor           0bxxx_xxx_001000
        // 5. Inspiration           0bxxx_xxx_010000
    }
}